<?php

class Default_IndexController extends Zend_Controller_Action {

    public function init() {
        /* Initialize action controller here */
    }

    public function indexAction() {
        $mprProductx = new Application_Model_MyProductxMapper();
        $mprCommons = new Application_Model_MyCommonsMapper();

        $this->view->Productx = $mprProductx->fetchAll();
        $this->view->Commons = $mprCommons->fetchAll();
    }

}